package com.blueocean_health.care.management.domain.vo;

import java.util.ArrayList;
import java.util.List;

/**
* @author huyanqiu
* @date 2018年5月14日 上午10:01:56
* @version 版本号：1.0
*/
public class TeamVo {
	
	// 组织/项目id
	private int id;
	// 组织/项目名称
	private String name;
	// 上级组织id
	private int parentId;
	// 上级组织名称
	private String parentName;
	// 所属组织id
	private int orgId;
	// 所属组织名称
	private String orgName;
	// 项目经理id
	private String manager;
	// 项目经理名称
	private String managerName;
	// 可用模块id
	private List<String> modules = new ArrayList<>();
	// 可用模块名称
	private List<String> moduleNames = new ArrayList<>();
	// 半选模块id
	private List<String> halfmodules = new ArrayList<>();
	// 排序权重
	private double order;
	// 医院客服电话
	private String teamPhone;
	// 医院工作人员电话
	private String teamStaffPhone;
	// 医院描述
	private String teamDepict;
	// 医院图片
	private String teamPic;
	// 是否在用户端展示， 1 展示 0不展示
	private Integer userShow;
	// 项目统计模式：第一位，1、从开始时间往后算 2、从结束时间往前算，第二位：1考虑收款，2不考虑收款
	private Integer countMethod;
	// 1：启用  2：禁用
	private String status;
	// 1：启用  2：禁用
	private String statusName;
	// 负责人/项目经理手机号
	private String phone;
	
	public int getId() {
		return id;
	}
	public void setId(int id) {
		this.id = id;
	}
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public int getParentId() {
		return parentId;
	}
	public void setParentId(int parentId) {
		this.parentId = parentId;
	}
	public String getParentName() {
		return parentName;
	}
	public void setParentName(String parentName) {
		this.parentName = parentName;
	}
	public int getOrgId() {
		return orgId;
	}
	public void setOrgId(int orgId) {
		this.orgId = orgId;
	}
	public String getOrgName() {
		return orgName;
	}
	public void setOrgName(String orgName) {
		this.orgName = orgName;
	}
	public String getManager() {
		return manager;
	}
	public void setManager(String manager) {
		this.manager = manager;
	}
	public String getManagerName() {
		return managerName;
	}
	public void setManagerName(String managerName) {
		this.managerName = managerName;
	}
	public List<String> getModules() {
		return modules;
	}
	public void setModules(List<String> modules) {
		this.modules = modules;
	}
	public List<String> getModuleNames() {
		return moduleNames;
	}
	public void setModuleNames(List<String> moduleNames) {
		this.moduleNames = moduleNames;
	}
	public double getOrder() {
		return order;
	}
	public void setOrder(double order) {
		this.order = order;
	}
	public String getStatus() {
		return status;
	}
	public void setStatus(String status) {
		this.status = status;
		if ("1".equals(status)) {
			setStatusName("启用");
		} else if ("2".equals(status)) {
			setStatusName("禁用");
		} else if ("3".equals(status)) {
			setStatusName("删除");
		}
	}
	public String getPhone() {
		return phone;
	}
	public void setPhone(String phone) {
		this.phone = phone;
	}
	public String getTeamPhone() {
		return teamPhone;
	}
	public void setTeamPhone(String teamPhone) {
		this.teamPhone = teamPhone;
	}
	public String getTeamStaffPhone() {
		return teamStaffPhone;
	}
	public void setTeamStaffPhone(String teamStaffPhone) {
		this.teamStaffPhone = teamStaffPhone;
	}
	public String getTeamDepict() {
		return teamDepict;
	}
	public void setTeamDepict(String teamDepict) {
		this.teamDepict = teamDepict;
	}
	public String getTeamPic() {
		return teamPic;
	}
	public void setTeamPic(String teamPic) {
		this.teamPic = teamPic;
	}
	public Integer getUserShow() {
		return userShow;
	}
	public void setUserShow(Integer userShow) {
		this.userShow = userShow;
	}
	public Integer getCountMethod() {
		return countMethod;
	}
	public void setCountMethod(Integer countMethod) {
		this.countMethod = countMethod;
	}
	public String getStatusName() {
		return statusName;
	}
	public void setStatusName(String statusName) {
		this.statusName = statusName;
	}
	public List<String> getHalfmodules() {
		return halfmodules;
	}
	public void setHalfmodules(List<String> halfmodules) {
		this.halfmodules = halfmodules;
	}
	@Override
	public String toString() {
		return "TeamVo [id=" + id + ", name=" + name + ", parentId=" + parentId + ", parentName=" + parentName
				+ ", orgId=" + orgId + ", orgName=" + orgName + ", manager=" + manager + ", managerName=" + managerName
				+ ", modules=" + modules + ", moduleNames=" + moduleNames + ", halfmodules=" + halfmodules + ", order="
				+ order + ", teamPhone=" + teamPhone + ", teamStaffPhone=" + teamStaffPhone + ", teamDepict="
				+ teamDepict + ", teamPic=" + teamPic + ", userShow=" + userShow + ", countMethod=" + countMethod
				+ ", status=" + status + ", statusName=" + statusName + ", phone=" + phone + "]";
	}
	
}
